﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SCO.Comunication;
using SCO.BE;

using SCO.BL.Interfaces;
using SCO.BL.Service;
using SCO.DAO.Interfaces;
using SCO.DAO.SqlDataAdapter;
namespace AppSCO.Tests.Controllers
{
    [TestClass]
    public class pruebaProcesoCita
    {
        [TestMethod]
        public void retornaHorariosDisponibles()
        {
            IDaoFactory daoFactory = new DAOFactory();
            IHorarioService horarioServices = new HorarioService(daoFactory);
            var resultado = horarioServices.listaDisponibilidad(new horarioBE() { FECCITA = "20130705" }).ToList();
            Assert.AreEqual(true, (resultado.Count > 0));
        }
    }
}
